package com.wudizaba.pg.service;

import com.wudizaba.pg.domain.QUery.PageQuery;
import com.wudizaba.pg.domain.DTO.StoredProcedureDrillDTO;
import com.wudizaba.pg.domain.po.StoredProcedureDrill;
import com.baomidou.mybatisplus.extension.service.IService;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author k
 * @since 2024-05-02
 */

public interface IStoredProcedureDrillService extends IService<StoredProcedureDrill> {

    /**
     * 新增数据
     * @return
     * @param id
     */
    String saveStoredProcedureDrill(Integer id);

    /**
     * 修改数据
     * @return
     * @param id
     */
    String updateStoredProcedureDrill(StoredProcedureDrillDTO id);

    /**
     * 删除数据
     * @return
     * @param id
     */
    String deleteStoredProcedureDrill(Integer id);

    /**
     * 查询数据
     * @return
     * @param pageQuery
     */
    List<StoredProcedureDrill> getStoredProcedureDrill(PageQuery pageQuery);


}
